package cn.iocoder.yudao.module.ems.convert.maintainstandard;

import cn.iocoder.yudao.module.ems.controller.admin.maintainstandard.vo.MaintainStandardItemCreateReqVO;
import cn.iocoder.yudao.module.ems.controller.admin.maintainstandard.vo.MaintainStandardItemRespVO;
import cn.iocoder.yudao.module.ems.dal.dataobject.maintainstandard.MaintainStandardItemDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.Collection;
import java.util.List;

/**
 * 入库记录 Convert
 *
 * @author dason
 */
@Mapper
public interface MaintainStandardItemConvert {

    MaintainStandardItemConvert INSTANCE = Mappers.getMapper(MaintainStandardItemConvert.class);

    List<MaintainStandardItemRespVO> convert(List<MaintainStandardItemDO> bean);

    List<MaintainStandardItemDO> convert2(Collection<MaintainStandardItemCreateReqVO> bean);

    MaintainStandardItemDO convert3(MaintainStandardItemRespVO bean);

    MaintainStandardItemDO convert4(MaintainStandardItemCreateReqVO bean);

}
